home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 2 / ETO Development Tools 2.iso / Tools - Objects / ResEdit / ResEdit 2.1b5 / Examples / Instructions
Encoding:
Text File  |  1990-10-23  |  2.7 KB  |  80 lines  |  [TEXT/MPS ]

  1. Instructions - The ResEdit Examples
  2.  
  3. Copyright Apple Computer, Inc. 1988-1989
  4. All rights reserved.
  5.  
  6. These examples should be used with MPW 3.0 or later.
  7.  
  8. About the Examples
  9.  
  10.     A sample resource editor, picker and LDEF are included with ResEdit.  These examples use
  11.     the MPW environment, the MPW C or Pascal compiler and the MPW Assembler.
  12.  
  13.     The example editor will simply display a window and invert its contents.
  14.     Since the details of editing your resource are known only to you, it is up 
  15.     to you to fill in the code necessary to make this into a real editor.
  16.     
  17.     The example picker is the actual ICON picker from ResEdit.  The ICON LDEF is
  18.     included with this example so that you can see the interaction between a picker
  19.     and its LDEF.
  20.     
  21. Building the examples
  22.  
  23.     You can build the examples using the build scripts provided in the
  24.     folder appropriate for the language you're using.
  25.     
  26.     The build scripts assume that ResEdit and the Examples folder will be found 
  27.     in the directory {boot}ResEdit:.  If these files are located elsewhere, the
  28.     build script files should be modified accordingly.
  29.     
  30.     If ResEdit is successfully located, the MakeFile instructions will install
  31.     the editor, picker and LDEF directly into ResEdit.  When you are experimenting
  32.     with changing any of these files, you may want to build into a copy of ResEdit.
  33.     In this way, if anything goes wrong, you can get a fresh copy of ResEdit for your
  34.     experiments.
  35.     
  36.     
  37. Files included in the example folders
  38.  
  39.  
  40.     BuildEditor, BuildPicker
  41.         The script files used to install the samples into ResEdit.
  42.         
  43.     MakeEditor, MakePicker
  44.         The Make files used by the build scripts.
  45.         
  46.         
  47. Files included in the Sources folder within the examples folder
  48.  
  49.     ResEd
  50.         The interface file used by all of the example files.  This file provides an
  51.         interface to procedures provided by the main ResEdit code.  The contents of this
  52.         file are described in the ResEdit manual.
  53.         
  54.     ResDisp.a
  55.         The assembly language interface between the editor or picker and the main
  56.         ResEdit code.  All of the procedures provided in the ResEd interface file
  57.         will be found in this module.  This file should be linked with all editors,
  58.         pickers and LDEFs.
  59.         
  60.     RSSC.a
  61.         The assembly language interface between ResEdit and your editor or picker.
  62.         This file should be linked with your editor or picker.
  63.         
  64.     LDEF.a
  65.         The assembly language interface between the list package and your LDEF.  This
  66.         file should be linked with your LDEF.
  67.         
  68.     XXXX.Edit
  69.         The main code for the editor.  This is the module that should be
  70.         modified to implement your editor.
  71.  
  72.     ICON.Pick
  73.         The ICON picker from ResEdit.  This file can be used as the starting point
  74.         for creating your own picker.
  75.         
  76.     ICON.LDEF
  77.         The LDEF (list definition procedure) used by the ICON picker.
  78.  
  79.  
  80.